[][src]Crate inet2_addr

Universal internet addresses that support IPv4, IPv6 and Tor

Structs

InetSocketAddr

Internet socket address, which consists of InetAddr IP or Tor address and a port number (without protocol specification, i.e. TCP/UDP etc). If you need to include transport-level protocol information into the socket details, pls check InetSocketAddrExt

InetSocketAddrExt

Internet socket address of InetSocketAddr type, extended with a transport-level protocol information (see Transport)

NoOnionSupportError

Address type do not support ONION address format and can be used only with IPv4 or IPv6 addresses

Enums

AddrParseError

Errors during address string parse process

InetAddr

A universal address covering IPv4, IPv6 and Tor in a single byte sequence of 32 bytes.

Transport

Transport protocols that may be part of InetSocketAddrExt